ImageGear v26.3 - Updated November 9, 2022
ImageGear.Core Assembly / ImageGear.Formats.XMP Namespace / ImGearXMPArray<T> Class / IndexOf Method
The object to locate in the ImGearXMPArray<T>.




In This Topic
IndexOf Method (ImGearXMPArray<T>)
In This Topic
Searches for the specified item and returns the zero-based index of the first occurrence within ImGearXMPArray<T>.
Syntax
'Declaration
 
Public Function IndexOf( _
   ByVal item As T _
) As Integer
 
'Usage
 
Dim instance As ImGearXMPArray(Of T)
Dim item As T
Dim value As Integer
 
value = instance.IndexOf(item)

Parameters

item
The object to locate in the ImGearXMPArray<T>.

Return Value

The zero-based index of the first occurrence of item within the entire ImGearXMPArray<T>, if found; otherwise, –1.
See Also